#/bin/env python

import warnings

def main():
    #warnings.simplefilter('error', UserWarning)

    print 'Before the warning'
    warnings.warn('This is a warning message')
    print 'After the warning'
    pass




if __name__ == "__main__":
    main()


# vim: st=2 sts=2 sw=2 noet

